# -*- coding:utf-8 -*-
# Author:Zhichao
#猜数字（0-100）


import getpass
hide_card = int(getpass.getpass("hide_card:"))
count = 0

if hide_card <100 and hide_card >0:
    while True:
        if count <5:
            guess_digit = int(input("guess_digit:"))
            if guess_digit == hide_card:
                print("yes, you got it.")
                break
            elif guess_digit > hide_card:
                print("think smaller...")
            else:
                print("think bigger...")
            count +=1
        else:
            print("猜这么多次都不对,你个笨蛋!")
            print("正确答案：%s"%(hide_card))
            break
else:
    print("请输入数字在0-99之间。不要耍赖！")
